package service;

import java.util.ArrayList;

import model.Employee;

public interface EmployeeAPI  {
	
	public int addEmployee(Employee emp);
	
	public int updateEmployee(Employee emp);
	
	public Employee getEmployeeById(int id);
	
	public int deleteEmployee(int id);
	
	public ArrayList<Employee> getEmployee();
	
	public boolean check(int employeeid);
	
	public ArrayList<Employee> getEmployeeByName(String name);
	
	public ArrayList<Employee> getEmployeeByUsername(String username);
	
}
